package org.eiahe.hr.performance.event;

import lombok.Getter;
import org.eiahe.hr.performance.domain.bo.PerformanceScoreDetailBo;
import org.springframework.context.ApplicationEvent;

/**
 * 绩效评分明细更新事件
 *
 * @author zhangnn
 */
@Getter
public class PerformanceScoreDetailUpdatedEvent extends ApplicationEvent {

    private final PerformanceScoreDetailBo detailBo;
    private final String employeeNo;
    private final Long detailId;
    private final Long resultId;

    public PerformanceScoreDetailUpdatedEvent(Object source, PerformanceScoreDetailBo detailBo, String employeeNo,
            Long detailId, Long resultId) {
        super(source);
        this.detailBo = detailBo;
        this.employeeNo = employeeNo;
        this.detailId = detailId;
        this.resultId = resultId;
    }
}